package com.dmjy.pub.export.data2csv.util;

import lombok.extern.slf4j.Slf4j;

/**
 * @author 敖癸
 * @formatter:on
 * @since 2024/3/18
 */
@Slf4j
public class CmdUtil {

    /** 使用默认浏览器打开 */
    public static void openBrowser(String url) {
        try {
            new ProcessBuilder("cmd", "/c", "start", url).start();
        } catch (Exception e) {
            log.warn("打开客户端主页失败", e);
        }
    }
}
